package cn.microven.mindmap.utils;

import cn.microven.mindmap.controller.menu.*;

public class ControllerGetter {

    private static FontStyleMenu fontStyleMenu;

    private static LayoutMenu layoutMenu;

    private static NodeStyleMenu nodeStyleMenu;

    private static OperationMenu operationMenu;

    private static FileMenu fileMenu;

    private static NewFileMenu newFileMenu;

    public static FontStyleMenu getFontStyleMenu() {
        return fontStyleMenu;
    }

    public static LayoutMenu getLayoutMenu() {
        return layoutMenu;
    }

    public static NodeStyleMenu getNodeStyleMenu() {
        return nodeStyleMenu;
    }

    public static OperationMenu getOperationMenu() {
        return operationMenu;
    }

    public static void setFontStyleMenu(FontStyleMenu fontStyleMenu) {
        ControllerGetter.fontStyleMenu = fontStyleMenu;
    }

    public static void setLayoutMenu(LayoutMenu layoutMenu) {
        ControllerGetter.layoutMenu = layoutMenu;
    }

    public static void setNodeStyleMenu(NodeStyleMenu nodeStyleMenu) {
        ControllerGetter.nodeStyleMenu = nodeStyleMenu;
    }

    public static void setOperationMenu(OperationMenu operationMenu) {
        ControllerGetter.operationMenu = operationMenu;
    }

    public static FileMenu getFileMenu() {
        return fileMenu;
    }

    public static void setFileMenu(FileMenu fileMenu) {
        ControllerGetter.fileMenu = fileMenu;
    }

    public static NewFileMenu getNewFileMenu() {
        return newFileMenu;
    }

    public static void setNewFileMenu(NewFileMenu newFileMenu) {
        ControllerGetter.newFileMenu = newFileMenu;
    }
}
